//
//  JCObjectSelector.h
//  JCSDK
//
//  Created by master on 16/3/22.
//  Copyright © 2016年 AdMaster. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JCObjectSelector : NSObject
@property (nonatomic, copy) NSString *string;

- (instancetype)initWithString:(NSString *)string;
- (NSArray *)selectFromRoot:(id)root;
- (NSArray *)fuzzySelectFromRoot:(id)root;

- (BOOL)isLeafSelected:(id)leaf fromRoot:(id)root;
- (BOOL)fuzzyIsLeafSelected:(id)leaf fromRoot:(id)root;

//- (Class)selectedClass;
//- (NSString *)description;
@end
